﻿using System;

namespace TheHorror
{
    class TheHorror
    {
        static void Main()
        {
            string str = Console.ReadLine();

            decimal[] intAry = new decimal[str.Length];
            decimal sum = 0;
            decimal evenCount = 0;

            for (int i = 0; i < str.Length; i++)
            {
                intAry[i] = str[i] - '0';
            }

            for (int i = 0; i < str.Length; i+=2)
            {
                    evenCount++;
            }
            Console.Write("{0} ",evenCount);

            for (int i = 0; i < str.Length; i+=2)
            {
                    sum += intAry[i];
            }

            Console.WriteLine(sum);
        }
    }
}